<a href="#" onclick="javascript:none()" class="parent"><span><g:message code="nav.tab.retailer" default="Retailer"/></span></a>
<ul>

    <shiro:hasPermission permission="retailer:index">
        <li>
            <a href="${createLink(controller: 'retailer', action : 'index')}"><span><g:message code="retailer.label" default="Retailer"/></span></a>
        </li>
    </shiro:hasPermission>


    <shiro:hasPermission permission="distribution:index">
        <li>
            <a href="${createLink(controller: 'distribution', action : 'index')}"><span><g:message code="distribution.label" default="Distribution"/></span></a>
        </li>
    </shiro:hasPermission>

    <shiro:hasPermission permission="reject:index">
        <li>
            <a href="${createLink(controller: 'reject', action : 'index')}"><span><g:message code="reject.label" default="Reject"/></span></a>
        </li>
    </shiro:hasPermission>

    <shiro:hasPermission permission="transferring:index">
        <li>
            <a href="${createLink(controller: 'transferring', action : 'index')}"><span><g:message code="transferring.label" default="Transferring"/></span></a>
        </li>
    </shiro:hasPermission>


</ul>
